#!/usr/bin/gnuplot

set term postscript eps font "Times-Roman,12" color
#set size 5.0, 3.0
set output "plot.eps"

#set format xy "$%g$"

set title 'queue benchmark'

#set xlabel '$nb$ number of blocks'
#set ylabel 'normalized kernel\\ runtime time (\us)'
set xlabel 'Thread blocks'
set ylabel 'Time per invocation (\us)'

#set key at 15,-10
set key top left

plot "queue_mark_32.dat"  using 1:2 title "32 threads" with lp, \
     "queue_mark_64.dat"  using 1:2 title "64 threads" with lp, \
     "queue_mark_128.dat" using 1:2 title "128 threads" with lp, \
     "queue_mark_256.dat" using 1:2 title "256 threads" with lp, \
     "queue_mark_512.dat" using 1:2 title "512 threads" with lp

#pause -1
#pause mouse keypress